<template>
  <div>
      用户名<input type="text" v-model="form.username"><br>
      密码<input type="text" v-model="form.password"><br>
      手机号<input type="text" v-model="form.mobile"><br>
      验证码<input type="text" v-model="form.yzm"><br>
      <button @click="hqyzm()">验证码</button>
      <button>添加</button>
  </div>
</template>

<script>
export default {
    name:'aaa',
    data(){
        return{
            form:{}
        }
    },
    methods:{
        hqyzm(){
            this.$axios.get(`aa/?mobile=`+this.form.mobile).then(r=>{
                console.log(r.data)
            })
        }
    },
    mounted(){

    }

}
</script>

<style>

</style>